#include <pwd.h>
#include <stdio.h>
int main()
{
  gid_t ef_gid;

  ef_gid = getegid(kc);
  printf("The effective GID is: %u\n", ef_gid);

}
